package ca.newcommerce.youtube.data
{

    public class MediaContentData extends Object
    {
        protected var _data:Object;

        public function MediaContentData(param1:Object)
        {
            this._data = param1;
            return;
        }// end function

        public function get duration() : Number
        {
            return parseInt(this._data.duration);
        }// end function

        public function get isDefault() : Boolean
        {
            return this._data.isDefault == "true";
        }// end function

        public function get expression() : String
        {
            return this._data.expression;
        }// end function

        public function get type() : String
        {
            return this._data.type;
        }// end function

        public function get format() : Number
        {
            return parseInt(this._data.yt$format);
        }// end function

        public function get url() : String
        {
            return this._data.url;
        }// end function

    }
}
